<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>dinglf1994/admin</title>
	<script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.config.js" ></script>
	<script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.all.min.js" ></script>
    <script type="text/javascript" charset="utf-8" src="/ueditor/lang/zh-cn/zh-cn.js"></script>
    <link href="/public/css/bootstrap.css" rel='stylesheet' type='text/css' />
    <link href="/public/css/style.css" rel='stylesheet' type='text/css' />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="Blogname Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,
	Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design"
    />
    <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
    <!----webfonts---->
    <!----//webfonts---->
    <script src="/public/js/jquery.min.js"></script>
    <!--end slider -->
    <!--script-->
    <script type="text/javascript" src="/public/js/move-top.js"></script>
    <script type="text/javascript" src="/public/js/easing.js"></script>
    <!--/script-->
    <script type="text/javascript">
        jQuery(document).ready(function($) {
            $(".scroll").click(function(event){
                event.preventDefault();
                $('html,body').animate({scrollTop:$(this.hash).offset().top},900);
            });
        });
    </script>
    <!---->

</head>
<body>

<!---strat-banner---->
<div class="banner">
    <div class="header">
        <div class="container">
            <div class="logo">
                <a href="/index.php"> <img src="/public/images/logo.png" title="soup" /></a>
            </div>
            <!---start-top-nav---->
            <div class="top-menu">
                <span class="menu"> </span>
                <ul>
                    <li class="active"><a href="/index.php">HOME</a></li>
                    <li><a href="/content/templates/contact.html">CONTACT</a></li>
                    <li><a href="terms.html">TERMS</a></li>
                    <div class="clearfix"> </div>
                </ul>
            </div>
            <div class="clearfix"></div>
            <script>
                $("span.menu").click(function(){
                    $(".top-menu ul").slideToggle("slow" , function(){
                    });
                });
            </script>
            <!---//End-top-nav---->
        </div>
    </div>
    <div class="container">
        <div class="banner-head">
            <h1>Lorem ipsum dolor sit amet</h1>
            <h2>cliquam tincidunt mauris</h2>
        </div>
    </div>
</div>
<!---//End-banner---->

<div align="center" class="contact">
    <div style="height: 100%;margin-left: 15%;margin-right: 15%">
        <div style="padding-bottom:2%;margin-left: 5%;margin-right: 5%">
            <form id="written" style="padding-top: 5%" name="adminlogin" method="post" action="/admin/addtext.php">
                <input type="text" name="title" placeholder="输入标题">
				<div>
				<script id="editor" type="text/plain" style="width:100%;height:400px;"></script>
				</div>
                <textarea id="textarea" rows="10" cols="40" style="display:none" name="content"></textarea>
                <input type="button" onclick="getPlainTxt()" value="提交">
            </form>
        </div>
    </div>
</div>
<script type="text/javascript">
var ue = UE.getEditor('editor');
function getPlainTxt() {
    var arr = [];
	var str = '';
    arr.push(UE.getEditor('editor').getPlainTxt());
	for(var i = 0; i<arr.length; i++)
	{
		str = str + arr[i];
	}
	document.getElementById('textarea').value=str;
    document.getElementById('written').submit();
}
</script>


<!---fotter/-->
<div class="copywrite">
    <div class="container">
        <p>Copyright &copy; 2015.Company name All rights reserved.More Templates <a href="http://www.kancloud.cn/@dinglf1994/book" target="_blank" title="dinglf1994">Dinglf1994</a> - Collect from <a href="http://www.kancloud.cn/@dinglf1994/book" title="Dinglf1994" target="_blank">Dinglf1994</a></p>
    </div>
</div>
<!---->
<script type="text/javascript">
    $(document).ready(function() {
        /*
         var defaults = {
         containerID: 'toTop', // fading element id
         containerHoverID: 'toTopHover', // fading element hover id
         scrollSpeed: 1200,
         easingType: 'linear'
         };
         */
        $().UItoTop({ easingType: 'easeOutQuart' });
    });
</script>
<a href="#to-top" id="toTop" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a>
</body>
</html>